CSG IDs
A drawing engine may support CSG IDs that determine what number a drawing engine assigns to triangles submitted for drawing. You specify an engine's CSG ID by assigning a value to itskQATag_CSGTag
state variable. The default value of this variable for a drawing engine that supports CSG iskQACSGTag_None
. You can use the following constants to specify a CSG ID.
#define kQACSGTag_None 0xffffffffUL #define kQACSGTag_0 0 #define kQACSGTag_1 1 #define kQACSGTag_2 2 #define kQACSGTag_3 3 #define kQACSGTag_4 4Constant descriptions
kQACSGTag_None
- Do not assign CSG IDs to submitted triangles.
kQACSGTag_0
- Submitted triangles have the CSG ID 0.
kQACSGTag_1
- Submitted triangles have the CSG ID 1.
kQACSGTag_2
- Submitted triangles have the CSG ID 2.
kQACSGTag_3
- Submitted triangles have the CSG ID 3.
kQACSGTag_4
- Submitted triangles have the CSG ID 4.